# _*_ coding : utf-8 _*_
# @Time : 2023/8/24 11:49
# @Author : 寻梦
# @File : 008_流程控制语句_for
# @Project : code

# 循环字符串
s='china'
for t in s:
    print(t)
print("---------------------------")
# range(5)
for t in range(5):
    print(t)
print("---------------------------")
# range(1,6)
for t in range(1,6):
    print(t)
print("---------------------------")
# range(1,10,3)
for t in range(1,10,3):
    print(t)
print("---------------------------")
# 循环一个列表
for t in [1,2,3,4]:
    print(t)